package com.whosly.study.webflux.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查
 *
 * @author Eton
 * @date 2022/4/19 下午2:08
 * @see <a href="wuqiwen@stoneatom.com">mailTo: wuqiwen@stoneatom.com</a>
 */
@RestController
@RequestMapping("/health")
public class HealthCheckerController {

    @GetMapping("/heartBeat")
    public String heartBeat() {
        return "200";
    }

}
